package com.tizona.service.impl;

import com.tizona.TarifdConfig;
import com.tizona.entity.Split;
import com.tizona.entity.Lc;
import com.tizona.entity.Se;
import com.tizona.entity.*;

import java.util.Calendar;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class Tarification extends TarificationBase
{
    protected final Log log = LogFactory.getLog(getClass());

    public Tarification()
    {
    }

    public String about(String s)
    {
        return null;
    }

    public final TarifdConfig getCfg()
    {
        return cfg;
    }

    public final int getDebugLevel()
    {
        return cfg.debug;
    }

    public Double process(Chunk chunk)
        throws Exception
    {
        return new Double("0");
    }

    public boolean process(Split split)
    throws Exception
    {
        return false;
    }

    public boolean process(Session session)
    throws Exception
    {
        return false;
    }

    public boolean process(Lc lc)
        throws Exception
    {
        return false;
    }

    public boolean process(Se se)
        throws Exception
    {
        return false;
    }

    public boolean processDaily()
            throws Exception {
        return false;
    }

    public boolean processMonthly(Lc lc1, Calendar calendar, int i)
            throws Exception {
        return false;
    }

    public static final int P_START = 0;
    public static final int P_MIDDLE = 1;
    public static final int P_STOP = 2;

    public static final int REASON_AMORTIZE = 1;
    public static final int REASON_P_DOWNLOAD = 2;
    public static final int REASON_P_UPLOAD = 3;
    public static final int REASON_CHUNK = 4;


    public String id;
    public TarifdConfig cfg;
}